package com.ruoyi.life.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 客户跟进对象 omp_zs_customer_follow
 *
 * @author cjie
 * @date 2021-08-03
 */
@Data
@ApiModel
public class ZsCustomerFollow extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** Id */
    @ApiModelProperty(value = "Id")
    private String id;

    /** 客户Id */
    @Excel(name = "客户Id")
    @ApiModelProperty(value = "客户Id")
    private String customerId;

    /** 跟进人 */
    @Excel(name = "跟进人")
    @ApiModelProperty(value = "跟进人")
    private String followMan;

    /** 跟进时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "跟进时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "跟进时间")
    private Date followTime;

    /** 计划下次跟进时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "计划下次跟进时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "计划下次跟进时间")
    private Date nextFollowTime;

    /** 沟通方式 */
    @Excel(name = "沟通方式")
    @ApiModelProperty(value = "沟通方式")
    private String communicateType;

    /** 客户联系人 */
    @Excel(name = "客户联系人")
    @ApiModelProperty(value = "客户联系人")
    private String linkMan;

    /** 联系电话 */
    @Excel(name = "联系电话")
    @ApiModelProperty(value = "联系电话")
    private String phone;

    /** 线索内容 */
    @Excel(name = "线索内容")
    @ApiModelProperty(value = "线索内容")
    private String content;

    /** 删除标志(0正常 1删除) */
    @ApiModelProperty(value = "删除标志(0正常 1删除)")
    private String delFlag;

    /** 租户Id */
    @Excel(name = "租户Id")
    @ApiModelProperty(value = "租户Id")
    private String tenantId;

    //以下属性为页面视图属性
    /** 企业名称 */
    @Excel(name = "企业名称")
    @ApiModelProperty(value = "企业名称")
    private String enterpriseName;

    /** 客户来源 */
    @Excel(name = "客户来源")
    @ApiModelProperty(value = "客户来源")
    private String customerSource;

}
